import request from '@/utils/request'

// 查询套餐组合列表
export function listComboGroupInfo(query) {
  return request({
    url: '/cinema/comboGroupInfo/list',
    method: 'get',
    params: query
  })
}

// 查询套餐组合详细
export function getComboGroupInfo(id) {
  return request({
    url: '/cinema/comboGroupInfo/' + id,
    method: 'get'
  })
}

// 新增套餐组合
export function addComboGroupInfo(data) {
  return request({
    url: '/cinema/comboGroupInfo',
    method: 'post',
    data: data
  })
}

// 修改套餐组合
export function updateComboGroupInfo(data) {
  return request({
    url: '/cinema/comboGroupInfo',
    method: 'put',
    data: data
  })
}

// 删除套餐组合
export function delComboGroupInfo(id) {
  return request({
    url: '/cinema/comboGroupInfo/' + id,
    method: 'delete'
  })
}

// 导出套餐组合
export function exportComboGroupInfo(query) {
  return request({
    url: '/cinema/comboGroupInfo/export',
    method: 'get',
    params: query
  })
}